package com.lai.hospital.constant;

/**
 * redis常量
 *
 * @author yezhiqiu
 * @date 2021/07/27
 */
public class RedisPrefixConst {

    /**
     * 验证码过期时间
     */
    public static final long CODE_EXPIRE_TIME = 15 * 60;

    /**
     * 登录验证码
     */
    public static final String USER_LOGIN_CODE_KEY = "login_code:";

    /**
     * 修改手机号验证码
     */
    public static final String USER_PHONE_CODE_KEY = "login_code:";


    /**
     * 文章浏览量
     */
    public static final String ARTICLE_VIEWS_COUNT = "article_views_count";

    /**
     * 文章点赞量
     */
    public static final String ARTICLE_LIKE_COUNT = "article_like_count";

    /**
     * 用户点赞文章
     */
    public static final String ARTICLE_USER_LIKE = "article_user_like:";

    /**
     * 用户点赞文章数量
     */
    public static final String ARTICLE_USER_LIKE_COUNT = "article_user_like_count:";

    /**
     * 用户地区
     */
    public static final String USER_AREA = "user_area";

    /**
     * 访客地区
     */
    public static final String VISITOR_AREA = "visitor_area";


    /**
     * 系统浏览量
     */
    public static final String SYSTEM_VIEWS_COUNT = "system_views_count";


    /**
     * 访客
     */
    public static final String UNIQUE_VISITOR = "unique_visitor";

}
